# 0. prepare and render
vi 11-try-render.yml
python 11c-render.py
# 0.1 see the rendered file
cat test_o.py

# 1. mv the test_o.py there
f='test_o.py'
smbclient --no-pass --user='\w14512%Wyq qwaszx!@' --ip-address='192.168.1.111' '\\Q13140Q\Users' \
          --command "put ${f} w14512/Downloads/hi/${f}" # ✅️

# 2. run the test_o.py there:
# there:
g () {
    echo "Sending $1"
    smbclient --no-pass --user='\w14512%Wyq qwaszx!@' --ip-address='192.168.1.111' '\\Q13140Q\Users' \
              --command "put $1 w14512/Downloads/hi/$1" # ✅️
}
g 'test_o.py'
g '11a-try-run.ps1'

# 3. get back the results (./log)
cd ../log
smbget --no-pass --recursive --update --dots --user='\w14512%Wyq qwaszx!@' 'smb://192.168.1.111/Users/w14512/Downloads/hi/log' # ✅️

# 4. save the results
cd ../workspace
python 12b-try-archive.py '[Test] clear password-blacklist'
